14,953
edits
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
正規表示法 (Regular Expression):處理文字檔每行的字串,搜尋或取代符合特定規則的字串。<ref>[http://linux.vbird.org/linux_basic/0330regularex.php 鳥哥的 Linux 私房菜 -- 正規表示法 (regular expression, RE) 與文件格式化處理]</ref> | 正規表示法 (Regular Expression):處理文字檔每行的字串,搜尋或取代符合特定規則的字串。<ref>[http://linux.vbird.org/linux_basic/0330regularex.php 鳥哥的 Linux 私房菜 -- 正規表示法 (regular expression, RE) 與文件格式化處理]</ref> | ||
{{Raise hand | text = 有問題嗎? [http://www.ptt.cc/bbs/RegExp/index.html 看板 RegExp 文章列表 - 批踢踢實業坊]或其他[[問答服務]] }} | {{Raise hand | text = 有問題嗎? [http://www.ptt.cc/bbs/RegExp/index.html 看板 RegExp 文章列表 - 批踢踢實業坊]或其他[[問答服務]] }} | ||
| Line 78: | Line 71: | ||
</tr> | </tr> | ||
</table> | </table> | ||
== Regular expression online tools == | |||
* [http://regex101.com/ Online regex tester and debugger: JavaScript, Python, PHP, and PCRE] ([http://regex101.com/r/tH1eT7/1 example]) {{Gd}} 有提供語法解說 | |||
* [http://www.rubular.com/ Rubular]: a Ruby regular expression editor and tester ([http://www.rubular.com/r/UZuUT5pjeh example]) | |||
* [http://gskinner.com/RegExr/ RegExr]: Learn, Build, & Test RegEx ([http://regexr.com/395t0 example]) | |||
* [http://www.phpliveregex.com/ PHP Live Regex] {{access | date=2014-11-25}} | |||
* [http://www.gethifi.com/tools/regex HiFi Regex Tester - Live JavaScript Regular Expression Tester] for Javascript {{access | date=2014-12-23}} | |||
== case == | == case == | ||