|Think about Loose Coupling|
Re: RegEx for users who dont know RegExby The Mad Hatter (Priest)
|on Dec 23, 2004 at 17:18 UTC||Need Help??|
One solution is to strip out all characters in the user-supplied data that aren't explicitly allowed and then generate your regex based off of that.
Update -- Try this sample code:
Note that "at ionizing radiation" matches because the iation in radiation matches. Did you just miss that, or should it not match?