关于正则表达式 [英] about regular expressions

查看:87
本文介绍了关于正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我需要正则表达式的教程解释才能匹配pdf的字数。



任何人都可以帮我链接吗?

hi all

I need tutorial explanation of regular expressions to matching word count of a pdf.

Can anyone help me with links?

推荐答案

RegEx上的通用教程

http://www.regular-expressions.info/tutorial.html [ ^ ]



具体单词计数示例

http://www.dotnetperls.com/word-count [ ^ ]



关于在CodeProject上从PDF中提取文本的文章

将PDF转换为C#中的文本 [< a href =http://www.codeproject.com/Articles/12445/Converting-PDF-to-Text-i nCtarget =_ blanktitle =New Window> ^ ]
Generic tutorial on RegEx
http://www.regular-expressions.info/tutorial.html[^]

Specific word counting example
http://www.dotnetperls.com/word-count[^]

Article on extracting text from a PDF here on CodeProject
Converting PDF to Text in C#[^]


您也可以尝试这个网站:http://regexlib.com/ [ ^ ]。您可以在他们的数据库中搜索现成的表达式,甚至可以测试您自己的表达式或其他表达式(点击页面顶部附近的Regex Tester链接)。



希望它对你也有用。
Also you may try this site: http://regexlib.com/[^]. You can search their database for ready made expressions and even test your own, or other's, expressions (click in the 'Regex Tester' link near the top of the page).

Hope it's usefull for you too.


这篇关于关于正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆