Simple GREP question
the following case modifier applies to all the text in brackets?
(\((?i) (all this text is modified\ is?)------)
I was wondering how editors work with sub-expressions.
A very good Question!
-Yes, it does. The modifiers are fully aware of grouping, and so you can do something like
( ? i) Hello ((?-i) World) out there
to find 'Hello' and 'out there' sensitive case-sensitive and case-insensitive 'world'.
Modifiers should not be at the beginning of your GREP:
Hello (? i) World (?-i) etc.
find "Hello" case sensitive (by default), 'everybody' insensitive to the case and "etc (any character)" case-sensitive. This is equal to
Hello everyone ((?i)) etc.
Moreover, another method is to use this notation:
Hello (? i: world) etc.
which is a little more readable.
Tags: InDesign
Similar Questions
-
Hello people,
I need help with a very simple GREP expression, I want to format all the occurrences of a Word only at the beginning of each paragraph. What is the term for a Word only at the beginning of each paragraph?
Thank you.
Just add ^ in front of the word you're looking for
-
If exposed simple of questions?
Alright fellow programmers. Once more what I meet a problem I have EVER had with other JAVA programs before. IAM trying to figure out how to write a simple if statement and I have questions. I did Google search and have found something to help. So, if you could please tell me what may be the issue? The error message is "error {invalid AssignmentOperator. syntax". Thanks in advance!
Double BinRadius = (Integer.parseInt (txtRadiusFeet.getText ()) * 12) + Integer.parseInt (txtRadiusInches.getText ());
FieldChangeListener CalcListener = new FieldChangeListener() {}
' Public Sub fieldChanged (field field, int context) {}
Double BinRadius = (Integer.parseInt (txtRadiusFeet.getText ()) * 12) + Integer.parseInt (txtRadiusInches.getText ());{If(BinRadius==0)}
Dialog.Alert ("Hello");
}
};Capital I yew?
-
Hello
I have a question about Indesign. I want to make the text a certain character as a space of hair for example "BOLD". This must be addressed in a paragraph style. I think that this can be done with GREP styles. I've tried several things, but it is not supposed me... Anyone know if this is possible or is there a better way to do?
Thank you!
Apply style to "bold" to the text:
(?<>
-
I have a simple task that I have to accomplish and I could use a simple command GREP to do, but I still have to understand what it is. Here's what I have:
a paragraph break a number (numbers 1, 2 or more) and a new paragraph break. I find it easily with the Find command: \r\d+\r
I need to replace with a single paragraph breaks and place brakets in front and behind the numbers without changing the numbers. If I use the $0 in the chain of change that he leaves still including the digit or if I use [$0] on change, it puts parentheses in but leave the paragraph breaks. I'm not there's something simple I'm missing here, but I have yet to understand what it is. Can someone please?
Sorry, left out the spaces. Change [$ 2]
-
Hey guys,.
I learn some basic PHP to make a simple form, and I have a small question. I have these two test of the PHP, Form.php and acion.php files. What you enter in the form is then displayed via $_POST to action.php that gets displayed. Here are the test sites:
http://christianstest.info/phptest/form.php
http://christianstest.info/phptest/action.php
And for two, verry simple code:
Form.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>PHP Form Test</title> </head> <body> <form action="action.php" method="post"> <p>Your name: <input type="text" name="name" /></p> <p>Your age: <input type="text" name="age" /></p> <p><input type="submit" /></p> </form> </body> </html>
and action.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> Hi <?php echo htmlspecialchars($_POST['name']); ?>. You are <?php echo (int)$_POST['age']; ?> years old. </body> </html>
Now I want to do is have action.php store data entered in Form.php so that someone could link directly to action.php and see what the end user concluded Form.php. Now, if you go directly to a non action.php caching it does nothing for the return of name and age. How can I get this data stick? If in fact, it is not a simple question, can you point me to a tutorial? Thank you!
You'll want to republish this topic in the Dreamweaver forum:
http://forums.Adobe.com/community/Dreamweaver?view=discussions
Take care, Mike
-
validation to a specific table only and simple a question on the dml trigger
Hi all
guess I am connected to a database with the user ' scott'/'tiger'@orcl and I have the fire instructions insert on 2 different tables allows say tables is
(1) emp
(2) Dept.
and now I want only to commit the emp table and not the table dept, is it possible to do?
Another question, I have... are commit simple dml triggers auto or not?
Concerning
RahulMac_Freak_Rahul wrote:
and now I want only to commit the emp table and not the table dept, is it possible to do?
No, it isn't. You post a transaction, not a table...
So if you have handled several tables in your transaction, you agree to be all these changes (via the command commit), or any of them (via restore).>
Another question, I have... are commit simple dml triggers auto or not?
If your dml trigger manipulate data (a very bad practice by the way), then they just add to all of the changes made to the breast of your transaction, you (as mentioned above), either commit all or none.
-
Hello world
My question is quite simple. I have two text boxes. I wrote "123" in the first text box and 'abc' in the second area. When I put the two boxes, the content in the second box automatically flowed to the first area, because there was space in the first box. Now the first box shows "123abc", and the second box is empty.
How to stop Indesign automatically cela. Is this possible? I know I can do it by screwing the two boxes first then the input data, but I have already entered all my data and it save me a lot of time if I can just have screw now. Thank you very much!
Simon
Until you put frames, insert a frame break in all Type > submenus insert a special character
Then content don't flow from 1 in frame 2 frame when you put on, because you insert a frame break stops at what happens.
-
Table Simple Dreamweaver question
I have so many tables, 100 rows, 5 columns for my data. Here's my question, is there a way to tilt the table given above then go down and up and down. All my data is from the old to the new, when I want recent to old. I know that you can do in Excel by alphabet or date, id there a way DW
Someone can correct me if I'm wrong, but I'm sure you can't sort a column or row of values in a table html using DW. What you could do is create your list in Excel, sort the list in Excel and copy the range of the table and paste it into DW, which will create a perfect html table. You can also copy and paste from Dreamweaver to Excel, but it is not as simple. You will need to copy and paste a column at a time, and you will have an additional empty line for each line populated.
Another solution is to create a mySQL table that can be easily sorted and uses PHP to display the table on your page. You must know at least the basics mySQL and PHP to do that, but if want to add constantly new records to your table, mySQL is your best solution. If your table is static, the first solution works perfectly.
-
Really simple (hopefully) question about GPIB-USB-HS
I tried to reconnect a GPIB-USB-HS to a network through a PC HP on shelf Analyzer. Before removing the GPIB-USB-HS system about a week or two ago, Network Analyzer (a vintage 1989 HP 8720 vector Network Analyzer) had worked well with the GPIB unit. Now that I reconnected the GPIB device to network monitor, measurement and automation seems not be able to detect the Network Analyzer.
My question is: if my GPIB-USB-HS appear in measurement and automation, and it passes the NOR-488. 2 troubleshooting of HW and SW utility test, it would be safe for me to assume that whatever connection problems I have with the Analyzer network, rather than with the GPIB-USB-HS itself?
Thank you
Armando83
I finally got the connection working again. I just had to tighten the screws on the GPIB-USB-HS to make sure it's a good connection to the Network Analyzer so that it can work.
Thanks again for your help, Dennis.
-
What's not here?
Select "update lookup_Nationalities set NAME = 'Philippinien' where NAME =' |" NAME of lookup_nationalities.
I want to have commands like update
Update lookup_Nationalities set NAME = 'Afghanistan', where NAME = 'Afghanistan ';
Update lookup_Nationalities set NAME = 'Belgien' where NAME = 'Belgien ';
Update lookup_Nationalities set NAME = 'China' where NAME = 'China ';
....
thanx
Hello
Whenever you have a problem, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements), so that people who want to help you can recreate the problem and test their ideas.
Also post the exact results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.
If you ask yourself on a DML statement, such as UPDATE, then the CREATE TABLE and you post instructions INSERT must re - create the tables as they are to the DML, and the results will be the content of the or a modified tables when it's all over.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum: Re: 2. How can I ask a question on the forums?
2843667 wrote:
What's not here?
Select "update lookup_Nationalities set NAME = 'Philippinien' where NAME =' |" NAME of lookup_nationalities.
I want to have commands like update
Update lookup_Nationalities set NAME = 'Afghanistan', where NAME = 'Afghanistan ';
Update lookup_Nationalities set NAME = 'Belgien' where NAME = 'Belgien ';
Update lookup_Nationalities set NAME = 'China' where NAME = 'China ';
....
thanx
If you want to include single quotes inside a string literal, use either 2 single quotes inside literal, like this:
Select "update lookup_Nationalities set NAME =" Philippinien "where NAME =' |" NAME
of lookup_nationalities;
or use Q-rating:
Select Q '{update lookup_Nationalities set NAME = 'Philippinien' where NAME =}' | NAME
of lookup_nationalities;
Whatever it is, you don't want anything like ' | ' at the end, after the «;»
Be careful: I bet that you do not want the output to be something like
set lookup_Nationalities set NAME = 'Philippinien' where NAME = Sverige
I suspect you want single-quota around Sverige, too.
-
Find and replace grep Question.
I'll put up paragraph styles and I'm changing anything with < CR > in a ^ p. How do I do this with a string of grep? I am wanting to add this string grep grep style in the paragraph styles.
With GREP Styles you can not change the text, but the formatting of the text.
You will need an action of find/replace with the TEXT or GREP find/replace.Uwe
-
I've been running Windows Home Server on an old Dell Zion (Yes - quite pokey), I see that Dell has many things on an I3 PowerEdge T110 II. I did a lot of search in the online documentation and manuals, but have a few unanswered questions:
o the server has a built-in SATA controller? The manual says 6 SATA connectors, but when I tried to configure the server for the purchase, it was persistent to choose me a PERC controller card. If there is a controller of the motherboard, will it be enough?
o once again, trying to set up with UEFI boot, he said conflicts in configuration. I am the command without hard drives, but to use an existing drive to 4 TB. I'm going to need to configure GBT and will require UEFI, I think. Is this a problem?
o any person aware of all the problems with Windows Home Server 2011 running on this platform?
They are sold individually as no disc/OSless as the default configuration. That's fine, but I wanted to buy a couple of company drives to go with it. When I tried to configure the system with hard drives, came when all configuration conflicts. I'll try to call tomorrow, but I think the community is generally better informed than the sales people. It looks like I'll buy the unit without disc and add my own records. Recommendations for hard disks that are reasonably reliable (and cheaper than Dell)? I want to run RAID 1.
My 'adventure' is about to begin. Thanks for the help!
Al
achunekeThe server has a built-in SATA controller? The manual says 6 SATA connectors, but when I tried to configure the server for the purchase, it was persistent to choose me a PERC controller card. If there is a controller of the motherboard, will it be enough?Yes, he does. Don't forget to check the Onboard SATA under hard disk Configuration option. If you enable RAID, you will get the S100 controller... let off RAID and use RAID software Windows instead.
achunekeYet once, trying to configure with UEFI boot, he said conflicts in configuration. I am the command without hard drives, but to use an existing drive to 4 TB. I'm going to need to configure GBT and will require UEFI, I think. Is this a problem?You can't order a server without a disk (see below *). If you plan to use your own, order it with the most small/less expensive available drive, then swap later. You have NO need to specify a UEFI/BIOS at the time wherever you order the server if you intend to swap the hard drive or install the OS yourself.
achunekeAnyone aware of any issues with Windows Home Server 2011 running on this platform?I don't see any, other than the fact that he didn't is not officially "supported", so you may run into issues at some point, but I suspect that there won't be any.
* You said they sell it "diskless", which I have never seen. If you can, great, but if not, see my comment above. Business records are only needed if you use enterprise-class RAID controllers. Do not use the S100... is not (is not) a "business" class RAID solution
'Real' RAID controllers (like the PERC 6 / i or H700) are not supported in the T110 II, so you don't ' really need to business records. Some have reported PERC 6/7 works to T110 II, but it is not supported, and if you choose to go this route, then make sure you have some good records designed for these controllers.
-
Hello
In Grep, we'll find "one or more times", but we'll find ranges [for example (\d{3-5)}]
Kind regards
MuraliVetha
You must use (\d{3,5)} instead, between the minimum and maximum number of find with a comma instead of a hyphen.
-
Please forgive me, I am very new to JavaScript and Acrobat.
Can someone tell me the phrase I would use to several a number entered by a user; which would be multiplied by a fixed number? Please see image:
The user number of backpacks, they enter the first area, the second box would have several sales of 50.
Please let me know if you have any question. I spent some time trying to get this to work, everything I try the product and error.
Your help is very appreciated!
Hi rachelNS,
You can send me a sample form and I would try it for you.
Then you check the script on your side. Also, I would like to know what is the version of Acrobat you are using?
Kind regards
Ajlan Huda.
Maybe you are looking for
-
When thunderbird automatically updated to 31.3.0 and lightning also updated automatically in paragraph 3.3.1 my calendar is completely empty. Everything is gone. How can I get that back?I've never had this before updating automatically. And there is
-
mdworker crashes constantly; Spotlight re-indexes
I searched the internet and all communities, trying to find a solution to my problem of focus. I have posted in some other forums and re - write here in a way more organized these positions as well as additional information. I recently moved my admin
-
in the previous version, I had the opportunity to save the State of my open windows so that I can reopen the session with the same pages.In this version however, I can't find this feature more.Is there another way to do this?
-
By default the password field BEFSR41v3
Has been changing some settings on the same page as the password change option and settings, also save all that was default in the saved password field.I have absolutely no idea what the password is now, and there's only one way to know without the r
-
I have a motherboard Asus P5GDX2. I originally upgraded to Windows 7 from an overwritten version of XP. This computer was given to me by afriend, I did install but cannot use my computer for most of the work without the sound! (I installed the latest