Reply To: word/phase search for numbers?

Product Compare Forums Multi-Edit Support word/phase search for numbers? Reply To: word/phase search for numbers?

#5730
Clay Martin
Keymaster

Hi Charles,
Assuming you are looking for groups of integers that have a blank, tab, bol or eol separating them from other groups, using Unix style
(^|[^0-9a-z.()”‘,$@!%^&*{}[\]?/||;:=+-<>~])([0-9]+)($|[^0-9a-z.()”‘,$@!%^&*{}[\]?/||;:=+-<>~])

I tend to use extra parens(safety first). You can extract (for replace reasons) your found number with \1

If you want certain symbols(!+*,etc.) to count as word delimits, remove them from the list, likewize add any that you dont want to count (like tab).

HTH,
Clay