Regular expression to find unknown acronyms [closed] - ruby

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need a regular expression that will pick out lines with ALL CAPS or unknown acronyms.
ie: something like
/[A-Z]{2,}/
combined with
/(?!USA|UK|TLA)/

You mean something like this?
\b(?!(?:USA|UK|TLA)\b)[A-Z]{2,}\b
See it here on Rubular
\b is a word boundary to ensure that it will find complete words.

Related

Encrypted Text - Where to Start [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
So I have an encrypted text I need to decrypt, where do I start and is there a program that automatically recognizes an algorithm ? Here is a snippet of what I need decrypted:
e302446c4b62c02dc77b3c896ef385c64244a83bd6702b215882d3f1b599ff69
Encrypted text is designed to resemble random numbers. Cryptographic algorithms are designed specifically to keep you from doing exactly what you are trying to do.

Decoding a string [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I found out that many files on my web server contain these inputs:
K3SQCI5YoWjgHwLacjuuWrKs7yE=
yEw5FOQQ1LFUa3aBbKQJLqXTVGo=
I need to figure out the encryption type or what these inputs are.
It looks like a base64 encoded string, not an encrypted string. See http://en.wikipedia.org/wiki/Base64

Disable orientation change when user want to [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to give to users my app an options that they can lock/disable orientation screen.
How can I do that?
You cannot prevent the rotation. But you can try use this:
http://pagerotationwp.codeplex.com/
see also
http://answers.microsoft.com/en-us/winphone/forum/wp7-wptips/auto-rotate-of-the-screen/d61a7b68-6941-41f9-a4f3-375e25669032?msgId=2ace87af-b04f-405e-b949-f85f861af740
Regards

How to modify string using RegEx? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How do I transform the string from 'updown' to 'Up/Down' using RegEx?
If you already know the input and output string then there's no use case for regular expressions. Regular expressions are for matching a grammar, which is a set of strings, rather than a single string.
Are you looking for something more general? Perhaps your question is about how to split up the words up and down, or how to capitalize the letters?
string = "updown"
string.gsub!("up", "Up!")
string.gsub!("down", "Down")
string = "Up!Down"

Difference between ASN and ASCII [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Please explain the difference between the ASN and ASCII formats.
What are they used for?
See ASN.1 and ASCII at Wikipedia, the two are orthogonal concepts, one is a notation for data structures the other is a character encoding scheme.

Resources