locked
what does $batch$ mean? $ indicates of end of the string RRS feed

  • Question

  • New to Regex.

    In the following Regex, what could be an example that matches this regex

    (?i).*\/api\/data\/.*\/$batch$

    http://crm.com/api/data and I don't know what that this $batch$ does?

    I know $ is an anchor which indicates the end of the string

    Thank you


    Tuesday, September 11, 2018 10:35 PM

All replies

  • Hi basam001,

    Thank you for posting here.

    1. What does the link you provided for us? The link I do not find the things related to this thread.

    2. Does the regex expression works well? 

    3. As I know, there is only one regex expression with double $. It used to substitute the substring matched by group number.

    Character	Description	                                        Pattern	                Replacement pattern	Input string	Result string
    $ number	Substitutes the substring matched by group number.	\b(\w+)(\s)(\w+)\b   	$3$2$1	                "one two"	"two one"

    Please provide more details.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, September 12, 2018 6:52 AM
  • This is the regular expression that would catches all the Hyperlinks that fall into that Regex pattern

    It is in App Dynamics tools. All all hyperlinks that match that pattern are shown on the App Dynamics dashboard.

    Wednesday, September 12, 2018 3:07 PM
  • Hi basam001,

    Thank you for feedback.

    If the regex works for APP Dynamics tools, I suggest you to ask in App Dynamics tools Community. In C#, I do not see the $batch$ before. 

    https://community.appdynamics.com/

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, September 13, 2018 6:54 AM