- Aug 14, 2001
- 8,401
- 1
- 0
I am trying to replace text like this:
src="Lecture 1 Something About Something.rm"
to this:
src="Lecture_1_Something_About_Something.rm"
and so I've been trying textpad/notepad++/ultraedit and their regular expression feature but none seem to find based on what appears to me to be the valid regular expression:
\s+(?!([^'\"]*['\"][^'\"]*['\"])*[^'\"]*$)
Any help? ideas? better regular expression?
src="Lecture 1 Something About Something.rm"
to this:
src="Lecture_1_Something_About_Something.rm"
and so I've been trying textpad/notepad++/ultraedit and their regular expression feature but none seem to find based on what appears to me to be the valid regular expression:
\s+(?!([^'\"]*['\"][^'\"]*['\"])*[^'\"]*$)
Any help? ideas? better regular expression?
