You are not logged in.
Pages: 1
I have tried using regular expressions, but unfortunately I'm very new with it.
I would like to do the following:
Input:
'My nice number 123.txt'
'Number 123 is nice.txt'
Output:
'My nice number #123.txt'
'Number #123 is nice.txt'
I tried the following, but it doesn't work:
Find : ' [0-9]'
Replace : ' #$0'
Any help would be greatly appreciated.
Offline
Expression: (\d+)
Replace: #$1
Offline
Ok, it doesn't work when using the 'Replace' rule, but it does work when using 'RegExp' rule.
Thanks a lot!
Last edited by iycgtptyarvg (2009-07-31 16:58)
Offline
Yes, that would only work in RegEx rule! Replace rule would need a different syntax.
Offline
Pages: 1