Copy link to clipboard
Copied
Hi everyone, can you help me how to bold the following text bellow. Start with AUD and end with number
Total Cost Of Booking (Inclusive of AUD GST) AUD $1,175.94
Less Commission (Inclusive of AUD GST) AUD $116.20
Total Net Cost of Booking (Inclusive of AUD GST) AUD $1,059.74
Thanks! I appreciate!
Hi,
Please see if this works: AUD \$[\d.,]+(\d+)?
-Aman
Copy link to clipboard
Copied
try this and let us know (maybe someone give another simplified/better version).
find
AUD \$\(?(\d+)?[,]\d{3}\.\d{2}|AUD \$\(?(\d+)?[,.]\d{2}
change
format bold
Copy link to clipboard
Copied
Thanks Vlanda! I appreciate! This could work in find and replace. I need a grep for styles.
Copy link to clipboard
Copied
Hi,
Please see if this works: AUD \$[\d.,]+(\d+)?
-Aman
Copy link to clipboard
Copied
Thanks Aman!! it worked! amazing! I appreciate!
Copy link to clipboard
Copied
Hi Aman,
Can you explain to me how did you make this? I want to understand it, Thanks!!!!!
Copy link to clipboard
Copied
Hi,
Please see the meaning of different metacharacters and wildcards used:
AUD: Because you had it in the term
\$: Escape character to indicate its the dollar sign we are searching
[ Inclusion: any character in this group
\d Any digit (0..9)
., Any of these characters
] End Inclusion Group
+ With any character in this group may occur once or more times; longest possible match will be taken
( Begin Group #1
\d+ : Any number of digits
) End Group #1
? The entire Group #1 may occur once, or not at all
-Aman
Copy link to clipboard
Copied
Aman,
AUD \$[\d.,]+ will be enough
… but could be too greedy! [be careful!]
Best,
Michel
Copy link to clipboard
Copied
Hi Aman!
One more thing.... Is it possible that these price AUD $1,175.94 make right justify?
Total Cost Of Booking (Inclusive of AUD GST) AUD $1,175.94
Less Commission (Inclusive of AUD GST) AUD $116.20
Total Net Cost of Booking (Inclusive of AUD GST) AUD $1,059.74
Copy link to clipboard
Copied
There's surely a "tab"! …
\t\KAUD.+
or
~y\KAUD.+
… could be enough [and not too risky!] as Grep style!
Best,
Michel, from FRIdNGE
Copy link to clipboard
Copied
Hi all,
One more thing.... Is it possible that these prices AUD $1,175.94 make it on right justify?
Total Cost Of Booking (Inclusive of AUD GST) AUD $1,175.94
Less Commission (Inclusive of AUD GST) AUD $116.20
Total Net Cost of Booking (Inclusive of AUD GST) AUD $1,059.74
Copy link to clipboard
Copied
Tab setting in the para style!
Copy link to clipboard
Copied
Hi Michel,
Need to justify RIGHT only the prices, text label must be remain at left justify.
Total Cost Of Booking (Inclusive of AUD GST) AUD $1,175.94
Less Commission (Inclusive of AUD GST) AUD $116.20
Total Net Cost of Booking (Inclusive of AUD GST) AUD $1,059.74
Copy link to clipboard
Copied
Same answer!
Copy link to clipboard
Copied
Hi Michel,
I can't make it.. Can you show me please. Will appreciate it so much
Thanks
Copy link to clipboard
Copied
Hi Michel
Thank you!
Tabs is working...
last problem is to bold all the text after the : colon or after tab
Copy link to clipboard
Copied
Hey Guys I got it!!!!
\t\K.+
Thank you so much all for the help!!
Copy link to clipboard
Copied
Hi All,
We edited the format of all the text and added ":" before the prices.
Can you help me how can I bold and justify align right all text after the : punctuation.
How can I make it Using GREP Code in paragraph style.
Thank you guys so much appreciate!
Ex.
Deposit Holding Date: Tue 01 May 2018
Invoice Total: $0.00