Tag Info

Hot answers tagged

4

First off, i can recommend Expresso to build and test regular expressions. Try this: <script?\w+((\s+\w+(\s*=\s*(?:"(?<value>.*?)"|'(?<value>.*?)'|[^'">\s]+))?)+\s*|\s*)/?>*</script> Some things to notice: You should run it with Ignore Case, to capture capital script tags. The named capture group "value" contains the value of ...


2

This is not possible as FAST supports FQL (FAST Query Language) and not regular expressions. Your best bet is to create an external processors which uses regexp to find social security numbers. If you find a match, assign the value "true" or similar to a crawled property. Then create a managed property of type bool which you map this crawled property. When ...


2

Looks like regex is not exported in the new column validation feature. References: http://www.sharepointdevwiki.com/display/sp2010/Site+Column+Validation Laura Rogers blogged about a way to pull it off in a Data View Web Part: http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?ID=83


1

check the below answers. will give you the idea how to achieve the target: Change name in ItemAdding event receiver or create a new Item also if you want to use WebDAV: http://simplyaprogrammer.com/2008/05/importing-files-into-sharepoint.html


1

There is no way to do this. What you can do is detect security numbers at indexing time (with regex if you want) and add them to a managed property like "detectednumbers". Then you can query document that contains a number, or only document that contains a specific number. I'm afraid this is the only way to go.



Only top voted, non community-wiki answers of a minimum length are eligible