# RegEx???????

**URL:** <https://forum.xojo.com/t/regex/20916>\
**Category:** 日本語\
**Created:** [December 13, 2014, 6:14am UTC](https://forum.xojo.com/t/regex/20916 "2014-12-13T06:14:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuniaki\_Maruyama](https://forum.xojo.com/user_avatar/forum.xojo.com/kuniaki_maruyama/32/2066_2.png) [@Kuniaki\_Maruyama](https://forum.xojo.com/u/Kuniaki_Maruyama)\
**Post date:** [December 13, 2014, 6:14am UTC](https://forum.xojo.com/t/regex/20916/1 "2014-12-13T06:14:02Z")

</div>

RegEx???

[code]// ?^???  
Dim re As New RegEx  
re.Options.MatchEmpty = True  
re.Options.StringBeginIsLineBegin = True  
re.Options.ReplaceAllMatches = True

re.SearchPattern = “^”  
re.ReplacementPattern = “?”

TextArea1.Text = re.Replace( TextArea1.Text )[/code]

TextArea1.Text???

`abcd
abcd
abcd`  
???  
Perl? s/^/?/mg ???

`?abcd
?abcd
?abcd`  
???  
RegExOptions.MatchEmpty ???  
???

---

<div class="post-metadata">

**Author:** ![Kuniaki\_Maruyama](https://forum.xojo.com/user_avatar/forum.xojo.com/kuniaki_maruyama/32/2066_2.png) [@Kuniaki\_Maruyama](https://forum.xojo.com/u/Kuniaki_Maruyama)\
**Post date:** [December 13, 2014, 10:01pm UTC](https://forum.xojo.com/t/regex/20916/2 "2014-12-13T22:01:19Z")

</div>

?^??$??\b???

![](http://tama-san.com/test/XojoRegExSample.png)

???UP???2014r3??  
[RegExTest.xojo\_binary\_project](http://cl.ly/Yx3K)

???MBS Xojo (Real Studio) Plugin??RegExMBS???  
???PCRE???

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:31pm UTC](https://forum.xojo.com/t/regex/20916/3 "2020-10-29T17:31:52Z")

</div>


