English > Development
StringReplace - RegEX ?
(1/1)
			meriator:
			
			my Question:
does the function StringReplace accept for Patterns a RegExpression ?
something like '/<(FSK:|fsk:)(.*?)(,|<)/s'
and which syntax for the RegEX is used C-like or PHP-like or orPerl-like or does Delphi has a diffrent Syntax
or is ther an other function via scripting engine that accept RegExes
it's easier to ask then trying all Night long
my Sricpt for zelluloid.de is almost finished
 
thx
cu meriator
		
			nostra:
			
			
--- Quote ---does the function StringReplace accept for Patterns a RegExpression ?
something like '/<(FSK:|fsk:)(.*?)(,|<)/s'
and which syntax for the RegEX is used C-like or PHP-like or orPerl-like or does Delphi has a diffrent Syntax
or is ther an other function via scripting engine that accept RegExes
it's easier to ask then trying all Night long
--- End quote ---
Unfortunately not. StringReplace can only replace one text string with another one, nothing more.
I'll consider adding RegExp in future versions.
--- Quote ---my Sricpt for zelluloid.de is almost finished
--- End quote ---
Cool.
		
			meriator:
			
			hi nostra
you've got mail  ;)
		
			nostra:
			
			Thanks, I'll create a small 0.9.8 update next week with you plugin included.
		
Navigation
[0] Message Index
Go to full version